<%@ page language="java" contentType="text/html" pageEncoding="utf-8"%>
<%@include file="/WEB-INF/pages/common/common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <%@include file="/WEB-INF/pages/common/head.jsp"%>
    <title><spring:message code="title.ipic.rule"/></title>
</head>
<body class="easyui-layout">
<div data-options="region:'center'">
    <table width="100%">
        <tr><td>&nbsp;</td></tr>
        <tr><td>&nbsp;</td></tr>
        <tr>
            <td colspan="3" align="center"><span style="font-size: 30px;background-color: yellow;">&nbsp;<spring:message code="label.ipic.rule.head"/>&nbsp;</span></td>
        </tr>
        <tr><td>&nbsp;</td></tr>
        <tr>
            <td colspan="3" style="font-size: 20px;" align="center"><spring:message code="label.ipic.rule.careful"/></td>
        </tr>
        <tr><td>&nbsp;</td></tr>
        <tr>
            <td>
                <table class="easyui-datagrid" data-options="rownumbers:true,singleSelect:true,width:335,height:205">
                    <thead>
                    <tr>
                        <th colspan="2" data-options="width:200,align:'center'"><spring:message code="label.ipic.rule.ppm"/></th>
                        <th rowspan="2" data-options="field:'ipic',width:100,align:'center'"><spring:message code="label.ipic.rule.ppm.pic"/></th>
                    </tr>
                    <tr>
                        <th data-options="field:'min',width:100,align:'center'"><spring:message code="label.ipic.rule.min"/></th>
                        <th data-options="field:'max',width:100,align:'center'"><spring:message code="label.ipic.rule.max"/></th>
                    </tr>
                    </thead>
                    <tbody>
                    <c:forEach var="entity" items="${ppmList}">
                        <tr>
                            <td>${entity.min}</td>
                            <td>${entity.max}</td>
                            <td>${entity.value}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
            </td>
            <td>
                <table class="easyui-datagrid" data-options="rownumbers:true,singleSelect:true,width:335,height:205">
                    <thead>
                    <tr>
                        <th colspan="2" data-options="width:200,align:'center'"><spring:message code="label.ipic.rule.claim.value"/></th>
                        <th rowspan="2" data-options="field:'ipic',width:100,align:'center'"><spring:message code="label.ipic.rule.claim.value.pic"/></th>
                    </tr>
                    <tr>
                        <th data-options="field:'min',width:100,align:'center'"><spring:message code="label.ipic.rule.min"/></th>
                        <th data-options="field:'max',width:100,align:'center'"><spring:message code="label.ipic.rule.max"/></th>
                    </tr>
                    </thead>
                    <tbody>
                    <c:forEach var="entity" items="${claimValueList}">
                        <tr>
                            <td>${entity.min}</td>
                            <td>${entity.max}</td>
                            <td>${entity.value}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
            </td>
            <td>
                <table class="easyui-datagrid" data-options="rownumbers:true,singleSelect:true,width:335,height:205">
                    <thead>
                    <tr>
                        <th colspan="2" data-options="width:200,align:'center'"><spring:message code="label.ipic.rule.claim.quantity"/></th>
                        <th rowspan="2" data-options="field:'ipic',width:100,align:'center'"><spring:message code="label.ipic.rule.claim.quantity.pic"/></th>
                    </tr>
                    <tr>
                        <th data-options="field:'min',width:100,align:'center'"><spring:message code="label.ipic.rule.min"/></th>
                        <th data-options="field:'max',width:100,align:'center'"><spring:message code="label.ipic.rule.max"/></th>
                    </tr>
                    </thead>
                    <tbody>
                    <c:forEach var="entity" items="${claimQuantityList}">
                        <tr>
                            <td>${entity.min}</td>
                            <td>${entity.max}</td>
                            <td>${entity.value}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
            </td>
        </tr>
        <tr><td>&nbsp;</td></tr>
        <tr><td>&nbsp;</td></tr>
        <tr>
            <td colspan="3" align="center">
                <span style="width:300px;height: 30px;font-size: 20px">Value to need PMCP &nbsp;<input type="text"/> &nbsp;PICs</span>
            </td>
        </tr>
    </table>
</div>
<div id="operateDialog" class="easyui-dialog" style="width:700px;height:300px;"
     data-options="resizable:true,modal:true,closed: true,collapsible:true,maximizable:true">
    <iframe scrolling="auto" id='operateIFrame' frameborder="0"  src="" style="width:100%;height:100%;"/>
</div>
</body>
</html>